// pages/login/login.js
Page({
  handleConsole() {
    console.log("登录中")
  },

  handleParent() {
    console.log("大框")
  },
  handleChildren() {
    console.log("小框")
  },
  handleClickE(event) {
    console.log(event)
    console.log(event.target.dataset)
    console.log(event.target.dataset.name)
    console.log(event.mark)
  },
  handlenavigateTo() {
    wx.navigateTo({
      url: '/pages/register/register?name=Marry&age=18',
    })
  },
  handleredirectTo() {
    wx.redirectTo({
      url: '/pages/register/register',
    })
  },
  handleswitchTab() {
    wx.switchTab({
      url: '/pages/index/index',
    })
  },
  handlerelaunch() {
    wx.reLaunch({
      url: '/pages/register/register',
    })
  },
  handlenavigateBack() {
    wx.navigateBack({
      delta: 2
    })
  },
})